package com.mars.common.test;

import java.util.Date;
import java.util.List;

public class Person {

	private Integer id ;
	
	private String name ;
	
	private Date datetime ;
	
	private List<Person> children ;
	
	public List<Person> getChildren() {
		return children;
	}

	public void setChildren(List<Person> children) {
		this.children = children;
	}

	public Person(Integer id, String name, Date datetime) {
		super();
		this.id = id;
		this.name = name;
		this.datetime = datetime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getDatetime() {
		return datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}

	@Override
	public String toString() {
		return "Person [id=" + id + ", name=" + name + ", datetime=" + datetime + ", children=" + children + "]";
	}
	
	
	
}
